package com.cookie.framework.event;

import android.view.SurfaceView;

/**
 * 项目名:    MeetProject
 * 包名:      com.cookie.framework.event
 * 文件名:    MessageEvent
 * 创建者:    cookie
 * 创建时间:   2020/1/14 22:33
 * 描述:      TODO
 */

public class MessageEvent {

    private int type;
    //文本消息
    private String text;
    private String userId; //每个消息都应该持有userId
    //图片消息
    private String imageUrl;

    //位置消息
    private double la;
    private double lo;
    private String address;

    //相机
    private SurfaceView mSurfaceView;

    public SurfaceView getmSurfaceView() {
        return mSurfaceView;
    }

    public void setmSurfaceView(SurfaceView mSurfaceView) {
        this.mSurfaceView = mSurfaceView;
    }


    public double getLa() {
        return la;
    }

    public void setLa(double la) {
        this.la = la;
    }

    public double getLo() {
        return lo;
    }

    public void setLo(double lo) {
        this.lo = lo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public MessageEvent(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
